package cn.hk.orderquerye.service;

import cn.HK.po.Emp;
import cn.HK.po.Order;
import cn.HK.po.User;
import cn.hk.orderquerye.emp.EmpView;
import cn.hk.orderquerye.mapper.QueryEmpMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class QueryEmpService {
    @Autowired(required = false)
    private QueryEmpMapper queryEmpMapper;
    public List<EmpView> queryEmpOrders(String eId) {
        return queryEmpMapper.selectOrdersByEmpid(eId);
    }



}
